package org.jeecg.modules.supplier.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.jeecg.modules.supplier.Vo.SupplierQualificationVO;
import org.jeecg.modules.supplier.dto.SupplierQualificationSearchRequest;
import org.jeecg.modules.supplier.entity.Supplier;

import java.util.List;

@Mapper
public interface SupplierQualificationMapper extends BaseMapper<Supplier> {

    /**
     * 联表查询供应商及其资质信息（模糊+状态）
     */
    List<SupplierQualificationVO> selectSupplierWithQualifications(SupplierQualificationSearchRequest query);
}
